package com.dao.admin;

import com.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminMapper {
    //验证用户登录：用户和密码
    public Admin getLoginAdmin(@Param("name") String name, @Param("password") String password);
    //根据用户名查找用户进行登录判断
    public Admin findAdminByLoginName(@Param("name") String name);
}
